package com.codedancer.campus.manager.service.vo.contactAdmin;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;

@Data
@ApiModel(value = "联系管理员聊天室分页Vo")
public class ContactAdminChatRoomPageVo {

    @ApiModelProperty("聊天室uuid")
    private String uuid;

    @ApiModelProperty("用户uuid")
    private String userUuid;

    @ApiModelProperty("用户昵称")
    private String nickName;

    @ApiModelProperty("用户头像")
    private String userAvatar;

    @ApiModelProperty("最近的一次聊天信息")
    private String latestChatMessage;

    @ApiModelProperty("最近的一次聊天时间")
    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
    private Date latestChatTime;
}
